<!--
 * @Author: your name
 * @Date: 2021-08-07 12:22:33
 * @LastEditTime: 2021-08-10 20:01:44
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \toutiao-me:\super-double-master\src\components\services.vue
-->
<!--
 * @Author: your name
 * @Date: 2021-08-06 16:12:12
 * @LastEditTime: 2021-08-07 12:14:45
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \toutiao-me:\super-double-master\src\components\elementUixiala.vue
-->
<template>
  <el-select v-model="value" placeholder="长沙" border="0">
    <el-option
      v-for="item in cities"
      :key="item.value"
      :label="item.label"
      :value="item.value">
      <span style="float: left">{{ item.label }}</span>
      <span style="float: right; color: #8492a6; font-size: 13px">{{ item.value }}</span>
    </el-option>
  </el-select>
</template>

<script>
export default {
  data () {
    return {

      cities: [{
        value: 'Beijing',
        label: '北京'
      }, {
        value: 'Shanghai',
        label: '上海'
      }, {
        value: 'Nanjing',
        label: '南京'
      }, {
        value: 'Chengdu',
        label: '成都'
      }, {
        value: 'Shenzhen',
        label: '深圳'
      }, {
        value: 'Guangzhou',
        label: '广州'
      }],
      value: ''
    }
  }
}
</script>

<style lang="less" scoped>
/deep/ .el-input__inner{
    width:100px;
    margin-top: 6px;
    border: 0px;
    background-color: #ffffff;

}

</style>
